package com.touchwp.java.wechat.processor;

import javax.inject.Named;

import com.touchwp.java.common.base.Default;
import com.touchwp.java.wechat.message.Message;
import com.touchwp.java.wechat.message.PictureMessage;
import com.touchwp.java.wechat.message.TextMessage;

/**
 * 默认图片处理器
 * @author yuki
 *
 */
@Default
@Named
public class PictureMessageProcessor implements IMessageProcessor<PictureMessage> {

	@Override
	public Message process(PictureMessage message) {
		TextMessage respose = new TextMessage();
		respose.setContent("看到你发的图片啦!!");
		respose.copyTo(message);
		return respose;
	}

}
